$webwork.htmlEncode($page.space.name) : War-File install
This page last changed on Dec 13, 2007 by aaime.
War-file Installation for Servlet ContainersHow to install GeoServer into servlet containers such as Tomcat, Jetty, and Jboss.
Following are some instructions on how to deploy Geoserver in Tomcat. These were tested on Debian etch using Tomcat 5.5. Depending on your platform and Tomcat setup these will vary. Tomcat setupThe easiest method to deploy GeoServer is to use the administration or manager webapps. First a user(s) with the role "admin" (for administration webapp) or "manager" (for manager webapp) must be defined in Enabling administration from a remote hostTo enable remote administration you will also need to edit $CATALINA_HOME/conf/Catalina/localhost/admin.xml and manager.xml and add a request filter for the hostname or TCP/IP address of your administrative host. Configuring the Tomcat security manager.See the Security Manager HOW-TO. I needed to add the following entries to $CATALINA_HOME/conf/catalina.policy (note that if you are using the Debian Tomcat packages you will need to edit /etc/tomcat5.5/policy.d/04webapps.policy as catalina.policy is automatically built from the files in policy.d at Tomcat startup) // The permissions granted to Geoserver grant codebase "file:/var/lib/tomcat5.5/webapps/geoserver/-" { permission java.io.FilePermission "/var/lib/tomcat5.5/webapps/geoserver/data/-", "read,write,delete"; permission java.util.PropertyPermission "*", "read,write"; permission java.util.logging.LoggingPermission "control"; permission java.lang.RuntimePermission "getClassLoader"; permission java.lang.RuntimePermission "preferences"; permission java.lang.RuntimePermission "shutdownHooks"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; }; Deploying GeoServerSee GeoServer in Production Environment. The Tomcat manager HowTo might be useful:http://tomcat.apache.org/tomcat-5.5-doc/html-manager-howto.html.
|
Document generated by Confluence on Jan 16, 2008 23:27 |